package cn.edu.zut.domain;

import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
public class Status implements Serializable {
    private static final long serialVersionUID = 5778510909680539708L;
    private Integer _id;
    private String name;

    @Override
    public String toString() {
        return "Status{" +
                "_id=" + _id +
                ", name='" + name + '\'' +
                '}';
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer get_id() {
        return _id;
    }

    public void set_id(Integer _id) {
        this._id = _id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
